Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Constants and Data Types for Advanced Printing Features


Job Format Modes

QuickDraw GX provides job format modes that allow a printer driver and an application to negotiate the best mode for printing. The gxJobFormatMode data type specifies modes, which are enumerated as follows:

enum {
   /* direct modes for job objects */
   gxGraphicsJobFormatMode    = (gxJobFormatMode) 'grph',
   gxTextJobFormatMode        = (gxJobFormatMode) 'text',
   gxPostscriptJobFormatMode  = (gxJobFormatMode) 'post'
};
typedef OSType gxJobFormatMode;
Constant descriptions

gxGraphicsJobFormatMode
If set, QuickDraw GX uses graphics mode.
gxTextJobFormatMode
If set, QuickDraw GX uses text mode.
gxPostScriptJobFormatMode
If set, QuickDraw GX uses PostScript mode.
The application calls the GXSetAvailableJobFormatModes function to inform the printer driver of the modes that the application supports, using a gxJobFormatModeTable structure to identify the supported modes.

struct gxJobFormatModeTable{
   long              numModes;      /* number of direct modes */
   gxJobFormatMode   modes[1];      /* any number direct modes */
};
Field Description
numModes
The number of modes that the application supports.
modes[1]
An array that contains the modes.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help